<div>
    <div>
        <div class="panel panel-default  m-n">
            <div class="panel-heading font-bold">修改广告分类</div>
            <div class="panel-body">
                <form name="advertisementTypeEditform" role="form" class="ng-pristine ng-valid" >
                    <div class="m-b-xs">
                        <label>分类名称</label>
                        <input type="text" class="form-control" ng-model="data.name" placeholder="输入分类名称" required>
                        <input type="hidden" class="form-control" ng-model="data.id">
                    </div>
                    <div class="text-center">
                        <div>
                            <button ng-click="edit()" class="btn m-b-xs w-xs btn-info">保存</button>
                            <button class="btn m-b-xs w-xs btn-danger" ng-click="cancel()">取消</button>
                        </div>
                    </div>
                </form>
            </div>
        </div>
    </div>
</div>